package com.itheima.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.OperateLogMapper;
import com.itheima.pojo.Operatelog;
import com.itheima.service.OperateLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service(interfaceClass = OperateLogService.class)
@Transactional
public class OperateLogServiceImpl implements OperateLogService {

    @Autowired
    private OperateLogMapper operateLogMapper;

    @Override
    public void addLog(Operatelog log) {
        operateLogMapper.addLog(log);
    }

    @Override
    public List<Operatelog> findLogCondition(Map map) {
        return null;
    }
}
